package main

import "fmt"

func main() {
	tag := "h"
	//go会在每个case后自动加上break
	//且go的switch默认支持字符串
	switch tag {
	case "h":
		fmt.Println("高")
	case "m":
		fmt.Println("中")
	case "l":
		fmt.Println("低")
	default:
		fmt.Println("未知")
	}
}
